package cn.com.api.entity;

import cn.com.api.entity.base.U_advertBase;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

// U_advert Entity

/// <summary>
/// Datetime: 2016/12/29 19:27:55		
/// the entity of table U_advert.
/// </summary>

public class ApiU_advert extends U_advertBase implements Serializable {

	private List<ApiU_advert_resource> advert_resources = new ArrayList<ApiU_advert_resource>();

	// 金额要改变BigDecimal
	private BigDecimal max_money = BigDecimal.ZERO;

	private Integer is_zan = 0;

	private Integer is_favorite = 0;

	private String position_name = "";

	// 广告剩余的投放时间
	private Integer remainday = 0;
	
	private String order_no = "";
	
//	private BigDecimal summy=BigDecimal.ZERO;
//	
//	public BigDecimal getSummy()
//	{
//		return this.summy;
//	}
//	
//	public void setSummy(BigDecimal summy)
//	{
//		this.summy = summy;
//	}
	public String getOrder_no()
	{
		return this.order_no;
	}
	
	public void setOrder_no(String no)
	{
		this.order_no = no;
	}

	public List<ApiU_advert_resource> getAdvert_resources() {
		return this.advert_resources;
	}

	public void setAdvert_resources(List<ApiU_advert_resource> advert_resources) {
		this.advert_resources = advert_resources;
	}

	public BigDecimal getMax_money() {
		return this.max_money;
	}

	public void setMax_money(BigDecimal max_money) {
		this.max_money = max_money;
	}

	public Integer getIs_zan() {
		return this.is_zan;
	}

	public void setIs_zan(Integer is_zan) {
		this.is_zan = is_zan;
	}

	public Integer getIs_favorite() {
		return this.is_favorite;
	}

	public void setIs_favorite(Integer is_favorite) {
		this.is_favorite = is_favorite;
	}

	public Integer getRemainday() {
		return remainday;
	}

	public void setRemainday(Integer remainday) {
		this.remainday = remainday;
	}

	public String getPosition_name() {
		return position_name;
	}

	public void setPosition_name(String position_name) {
		this.position_name = position_name;
	}

}
